import generalview from '../views/generalview/index.vue'
import PowerData from '../views/datamonitor/PowerData.vue'
import Poweranalysis from '../views/datamonitor/Poweranalysis.vue'
import Powertrend from '../views/datamonitor/Powertrend.vue'
import Basicreport from '../views/Datareport/Basicreport.vue'
import PeakValleyReport from '../views/Datareport/PeakValleyReport.vue'
import DeviceType from '../views/Photovoltaicequipment/DeviceType.vue'
import Devicegrouping from '../views/Photovoltaicequipment/Devicegrouping.vue'
import Devicelist from '../views/Photovoltaicequipment/Devicelist.vue'
import Variablelist from '../views/Photovoltaicequipment/Variablelist.vue'
import Callevent from '../views/callmanage/callevent.vue'
import Callstatistics from '../views/callmanage/callstatistics.vue'
import WorkOrder from '../views/Operationmanage/WorkOrder.vue'
import MaintenanceRecords from '../views/Operationmanage/MaintenanceRecords.vue'
import Other from '../views/other/Other.vue'

const routes = [
    {
        path: '/index',
        component: generalview
    },
    {
        path: '/datamonitor/PowerData',
        component: PowerData
    },
    {
        path: '/datamonitor/Poweranalysis',
        component: Poweranalysis
    },
    {
        path: '/datamonitor/Powertrend',
        component: Powertrend
    },
    {
        path: '/Datareport/Basicreport',
        component: Basicreport
    },
    {
        path: '/Datareport/PeakValleyReport',
        component: PeakValleyReport
    },
    {
        path: '/Photovoltaicequipment/DeviceType',
        component: DeviceType
    },
    {
        path: '/Photovoltaicequipment/Devicegrouping',
        component: Devicegrouping
    },
    {
        path: '/Photovoltaicequipment/Devicelist',
        component: Devicelist
    },
    {
        path: '/Photovoltaicequipment/Variablelist',
        component: Variablelist
    },
    {
        path: '/callmanage/callevent',
        component: Callevent
    },
    {
        path: '/callmanage/callstatistics',
        component: Callstatistics
    },
    {
        path: '/Operationmanage/WorkOrder',
        component: WorkOrder
    },
    {
        path: '/Operationmanage/MaintenanceRecords',
        component: MaintenanceRecords
    },
    {
        path: '/Other/Other',
        component: Other
    },
]

export default routes